 <img src="data:image/png;base64,{{polt_by_all_task_state}}">


<br/>
            <h2 style="font-size:24px;color:#336699;">{{now_page}}工作内容:</h2>
            <ul style="list-style-type:decimal;">
            {% for task in now_task_list %}
            {% ifchanged %}
            <lo style="margin-left:0px;padding-left:0px;" >{{task.user.last_name}}{{task.user.first_name}}:</lo>
            {% endifchanged %}
            <li style="font-size:14px;" > {% if task.is_bug %}BUG{% endif %} {{task.name}}  {% if task.state == 4 %} [已完成] {% else %}{{task.schedule}}%{% endif %} </li>
            {% endfor %}
            </ul>
            <h2  style="font-size:24px;color:#336699;" >{{next_page}}工作内容:</h2>
            <ul style="list-style-type:decimal;" >
            {% for task in next_task_list %}
            {% ifchanged %}
            <lo style="margin-left:0px;padding-left:0px;">{{task.user.last_name}}{{task.user.first_name}}:</lo>
            {% endifchanged %}
            <li style="font-size:14px;" > {% if task.is_bug %}BUG{% endif %}  {{task.name}}  {% if task.state == 4 %} 已完成 {% else %}{{task.schedule}}%{% endif %} </li>
            {% endfor %}
            </ul>

             <br/>
            <h2  style="font-size:24px;color:#336699;" >任务状况一览:</h2>
            <table style="color:#444;width:100%;border-collapse:collapse;" border=0 cellpadding=0 cellspacing=2 >
                <tr style="border-bottom:1px solid #336699;">
                <th style="size:18px;font-weight:bold;color:#444;">任务名称</th>
                <th style="font-weight:bold;color:#444;" >说明</th>
                <th style="font-weight:bold;color:#444;" >开始时间</th>
                <th style="font-weight:bold;color:#444;" >工期</th>
                
                <th style="font-weight:bold;color:#444;" >状态</th>
            
                </tr>
                {% for task in all_list %}
                <tr><td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-right:1px dotted #336699;" >{% if task.is_bug == 1 %}BUG {% endif %}{{task.name}}</td>
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;" >{{task.doc}}</td>
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-left:1px dotted #336699;" >{{task.start_date|date:"Y-m-d"}}</td>
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-left:1px dotted #336699;" >{{task.time_long}}天</td>
                    
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-left:1px dotted #336699;" >
                        {% if task.state == 1 %} 未开始 {% endif %}
                        {% if task.state == 2 %} {{task.schedule}}% {% endif %}
                        {% if task.state == 3 %} 延迟处理 {% endif %}
                        {% if task.state == 4 %} 已完成 {% endif %}
                        
                    </td></tr>
                {% endfor %}
            </table>
            <br/>
            <h2  style="font-size:24px;color:#336699;" >BUG列表:</h2>
            <table style="color:#444;width:100%;border-collapse:collapse;" border=0 cellpadding=0 cellspacing=0 >
                <tr style="border-bottom:1px solid #336699;">
                <th style="size:18px;font-weight:bold;color:#444;">BUG标题</th>
                <th style="font-weight:bold;color:#444;" >说明</th>
                <th style="font-weight:bold;color:#444;" >状态</th>
            
                </tr>
                {% for task in bug_list %}
                <tr><td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-right:1px dotted #336699;" >{{task.is_bug}}{% if task.is_bug == 1 %}BUG{% endif %}{{task.name}}</td>
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;" >{{task.doc}}</td>
                    <td style="color:#444;background-color:#efefef;border-bottom:1px solid #336699;border-left:1px dotted #336699;" >
                        {% if task.state == 1 %} 未开始 {% endif %}
                        {% if task.state == 2 %} {{task.schedule}}% {% endif %}
                        {% if task.state == 3 %} 延迟处理 {% endif %}
                        {% if task.state == 4 %} 已完成 {% endif %}
                        
                    </td></tr>
                {% endfor %}
            </table>
